package com.abner.design.patterns.bridge;

/**
 * 手机
 * @author abner
 */
public abstract class Phone {
	
	private Brand brand;

	public Phone(Brand brand) {
		super();
		this.brand = brand;
	}

	/**
	 * 开机
	 */
	protected void open() {
		this.brand.open();
	}

	/**
	 * 关机
	 */
	protected void close() {
		brand.close();
	}

	/**
	 * 打电话
	 */
	protected void call() {
		brand.call();
	}
	
}
